package com.ruoyi.management.basics.mapper;

import java.util.List;

import com.ruoyi.management.basics.domain.TEmployeeMer;
import com.ruoyi.management.basics.ro.GetEmployeeMerListParam;
import com.ruoyi.management.basics.ro.ImportTemplateParam;
import com.ruoyi.management.basics.vo.DownloadTemplateVo;
import com.ruoyi.management.basics.vo.DriverMerListVo;

/**
 * 驾驶员商户信息Mapper接口
 * 
 * @author ruoyi
 * @date 2021-12-07
 */
public interface TEmployeeMerMapper 
{
    /**
     * 查询驾驶员商户信息
     * 
     * @param id 驾驶员商户信息主键
     * @return 驾驶员商户信息
     */
    public TEmployeeMer selectTEmployeeMerById(String id);

    /**
     * 查询驾驶员商户信息列表
     * 
     * @param tEmployeeMer 驾驶员商户信息
     * @return 驾驶员商户信息集合
     */
    public List<TEmployeeMer> selectTEmployeeMerList(TEmployeeMer tEmployeeMer);

    /**
     * 新增驾驶员商户信息
     * 
     * @param tEmployeeMer 驾驶员商户信息
     * @return 结果
     */
    public int insertTEmployeeMer(TEmployeeMer tEmployeeMer);

    /**
     * 修改驾驶员商户信息
     * 
     * @param tEmployeeMer 驾驶员商户信息
     * @return 结果
     */
    public int updateTEmployeeMer(TEmployeeMer tEmployeeMer);

    /**
     * 删除驾驶员商户信息
     * 
     * @param id 驾驶员商户信息主键
     * @return 结果
     */
    public int deleteTEmployeeMerById(String id);

    /**
     * 批量删除驾驶员商户信息
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteTEmployeeMerByIds(String[] ids);

    /**
     * 驾驶员商户列列表
     * @param tEmployeeMer
     * @return
     */
    List<DriverMerListVo> selectTEmployeeMerVoList(GetEmployeeMerListParam tEmployeeMer);

    /**
     * 驾驶员商户详细信息
     * @param id
     * @return
     */
    DriverMerListVo selectTEmployeeMerVoById(String id);

    /**
     * 根据驾驶员id获取商户详情
     * @param employeeId
     * @return
     */
    DriverMerListVo selectDriverMerByEmployeeId(Long employeeId);

    int importData(List<DownloadTemplateVo> paramList);

    List<DownloadTemplateVo> downloadTemplate(List<Long> employeeIdList);

    List<DownloadTemplateVo> ImportTemplate(ImportTemplateParam param);
}
